package com.zzj.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author zzj
 * @since 2023-05-12
 */
@TableName("picc_patient_appointment")
public class PatientAppointment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 患者用户名
     */
    private String patientUsername;

    /**
     * 患者姓名
     */
    private String patientName;

    /**
     * 患者头像
     */
    private String patientAvatar;

    /**
     * 医护用户名
     */
    private String nurseUsername;

    /**
     * 医护姓名
     */
    private String nurseName;

    /**
     * 医护头像
     */
    private String nurseAvatar;

    /**
     * 预约类型 1 维护 2 置管  3 拔管
     */
    private Integer type;

    /**
     * 预约时间
     */
    private String appointmentTime;

    /**
     * 1预约中 2进行中 3待回访 4已完成 5已取消
     */
    private Integer status;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private String createTime;

    /**
     * 更新时间
     */
       @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateTime;

    /**
     * 排班ID
     */
    private Integer scheduleId;

    /**
     * 置管、维护、拔管
     */
    private Integer treatId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPatientUsername() {
        return patientUsername;
    }

    public void setPatientUsername(String patientUsername) {
        this.patientUsername = patientUsername;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public String getPatientAvatar() {
        return patientAvatar;
    }

    public void setPatientAvatar(String patientAvatar) {
        this.patientAvatar = patientAvatar;
    }

    public String getNurseUsername() {
        return nurseUsername;
    }

    public void setNurseUsername(String nurseUsername) {
        this.nurseUsername = nurseUsername;
    }

    public String getNurseName() {
        return nurseName;
    }

    public void setNurseName(String nurseName) {
        this.nurseName = nurseName;
    }

    public String getNurseAvatar() {
        return nurseAvatar;
    }

    public void setNurseAvatar(String nurseAvatar) {
        this.nurseAvatar = nurseAvatar;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getAppointmentTime() {
        return appointmentTime;
    }

    public void setAppointmentTime(String appointmentTime) {
        this.appointmentTime = appointmentTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getScheduleId() {
        return scheduleId;
    }

    public void setScheduleId(Integer scheduleId) {
        this.scheduleId = scheduleId;
    }

    public Integer getTreatId() {
        return treatId;
    }

    public void setTreatId(Integer treatId) {
        this.treatId = treatId;
    }

    @Override
    public String toString() {
        return "PatientAppointment{" +
                "id = " + id +
                ", patientUsername = " + patientUsername +
                ", patientName = " + patientName +
                ", patientAvatar = " + patientAvatar +
                ", nurseUsername = " + nurseUsername +
                ", nurseName = " + nurseName +
                ", nurseAvatar = " + nurseAvatar +
                ", type = " + type +
                ", appointmentTime = " + appointmentTime +
                ", status = " + status +
                ", createTime = " + createTime +
                ", updateTime = " + updateTime +
                ", scheduleId = " + scheduleId +
                ", treatId = " + treatId +
                "}";
    }
}
